package com.landon.id.generator.model;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author shishaopeng
 * Date: 2022-10-24-20-56
 * Desc: 号段对象
 */
@Setter
@Getter
@ToString
@Accessors(chain = true)
public class SegmentIdDO implements Serializable {

    /**
     * 业务ID
     */
    private String businessId;

    /**
     * 开始位置
     */
    private Long startId;

    /**
     * 结束位置
     */
    private Long endId;
}
